<?php
  /**
   *  SMF Specific Integration.  These are ignored if the $generic variable above
   *  is set to 1.   
   *  
   *  The following groups can ban, however the limited User Group can initiate a ban 
   *  but it can not become activated until a Ban Manager Approves the Ban.  The Admin 
   *  Group is the group of users that have full admin right and can ban who ever they 
   *  please when ever they want but can only modify their own bans.  The Ban Manager 
   *  group consists of people that can approve a 'limited user's' ban, however 
   *  they can also enable or diable a ban completely and are able to change 
   *  ny bans at their whim.                        
   */
   // Admin Variables
   $banManager = false; // Allowed to do everything regarding bans
   $admin = false; // Can only add (by-passes pending)
   $member = false; // Can only add pending
   $fullPower = false; // Allowed EVERYTHING regarding the server
  
   // Member
   if(in_array(25, $user_info['groups'])) {
     $member = true;
   }
  
   // Admin
   if(in_array(23, $user_info['groups'])) {
     $admin = true;
   }
  
   // Ban Manager
   if(in_array(27, $user_info['groups'])) {
     $banManager = true;
   }
   
   // Full Power
   if(in_array(22, $user_info['groups'])) {
    $fullPower = true;
   }
?>
